<template>
  <div class="h-full">
    <el-config-provider :button="{ autoInsertSpace: true}">
      <router-view />
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
import { ElConfigProvider, ElMessage } from 'element-plus';
import { subscribeTheme } from '@/store';
import { cacheThemeConfig } from '@/utils';

subscribeTheme();
cacheThemeConfig();
window.$message = ElMessage;

</script>
<style scoped>
</style>
